package org.dromara.app.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 开会员订单对象 sk_membership_order
 *
 * @author Evacuation
 * @date 2024-08-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sk_membership_order")
public class SkMembershipOrder extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 开通类型
     */
    private Long vipType;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 到期时间
     */
    private Date vipLastTime;

    /**
     * 订单号
     */
    private String orderSn;

    /**
     * 城市
     */
    private String city;

    /**
     * 支付方式
     */
    private Long payType;

    /**
     * 支付时间
     */
    private String payTime;

    /**
     * 支付订单
     */
    private String payOrderSn;

    /**
     * 支付状态
     */
    private Long payState;


    private Long yqUserId;


}
